package io.gitee.wminyu.day02;

import java.util.Scanner;

public class primeNumber {
    public static void main(String[] args){
        int num;
        int b=0;
        Scanner input = new Scanner(System.in);
        num = input.nextInt();
        for(int i= 2;i<num;i++){
            if (num%i==0){
                System.out.println(num+"不是素数");
                b=1;break;
            }
        }
        if(b==0) {
            System.out.println(num+"是素数");
        }
    }
}
